﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnswerByCulture.aspx.cs"
    Inherits="Demo.Demos.Poll.AnswerByCulture" MasterPageFile="~/Empty.Master" %>

<asp:Content ID="Content4" runat="server" ContentPlaceHolderID="MainContent">
    <div style="padding:20px">
    <asp:UpdatePanel runat="server">
        <ContentTemplate>
            <d:AnswerDataContexControl runat="server" ID="ctrl_DataContextControl">
                    <div class="form-horizontal">
                        <fieldset>
                            <cwf:CollectionEditor runat="server" DataPath="AnswersByCulture">
                                <ItemTemplate>
                                    <div>
                                            <cwf:ModelValue runat="server" DataPath="CultureName" /><br />
                                            <cwfj:simpleeditor runat="server" datapath="Answer" canbenull="false" />
                                    </div>
                                </ItemTemplate>
                            </cwf:CollectionEditor>
                        </fieldset>
                    </div>
                     <div class="form-actions">
                    <asp:Button ID="Button1" runat="server" OnClick="Save_Click" Text="Save" CssClass="btn btn-primary" />
                </div>
            </d:AnswerDataContexControl>
        </ContentTemplate>
    </asp:UpdatePanel>
    </div>
</asp:Content>
